//
//  FirCirCommentDataSource.h
//  tcpoctest
//
//  Created by gump on 4/16/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import <Foundation/Foundation.h>

@class FirCirSendCommentInfo;
@class FirCirCommentInfo;

@interface FirCirCommentDataSource : NSObject
{
    NSMutableDictionary     *fircirCommentDic;
    pthread_mutex_t         commentmutex;
    FirCirSendCommentInfo   *sendinfo;
}

-(void)SetCommentDic:(NSString *)newsID withObject:(FirCirCommentInfo *)showarr;
-(void)RemoveAllCommentDic;
-(FirCirCommentInfo *)getCommentInfoByID:(NSString *)commentid;
-(void)RemoveCommentInfoByID:(NSString *)commentid;

-(void)SetCommentSendInfo:(NSString *)mail
                withNewID:(NSString *)newid
              withSpeakTo:(NSString *)speakto;


-(void)SetCSInfoIndex:(int)index  withContent:(NSString *)content;
-(FirCirSendCommentInfo *)SendCommentInfo;

@end
